# -*- coding: utf-8 -*-
# @Time: 2025/8/12 3:05
# @Author: foxhuty
# @File: python_notes.py

print("hello world")
[a, b] = [1, 2]
print(a)
print(b)
dct = {'name': 'foxhuty', 'age': 18}
print(dct)
print(dct['name'])
print(dct['age'])
# print(dct['city'])
dct['city']=dct.get('city','beijing')
print(list(dct.items()))
print(dct.keys())


